package net.esj.basic.plugins.struts2.action;

import net.esj.basic.view.BaseAction;

public abstract class AbstractDyncAction extends BaseAction{

	protected String namespace;
	protected String actionName;

	@Override
	public String execute() throws Exception {
		resolute();
		return SUCCESS;
	}
	
	/**
	 * 解析namespace和actionName
	 */
	protected abstract void resolute();
	
	public String getNamespace() {
		return namespace;
	}
	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}
	public String getActionName() {
		return actionName;
	}
	public void setActionName(String actionName) {
		this.actionName = actionName;
	}
	
	
}
